package com.overseasShopping.pojo;

import java.util.Date;

public class Chat {
	private int id;
	private String chatFrom;
	private String chatTo;
	private	Date chatTime;
	private String content;
	public Chat() {
		super();
	}
	


	public Chat(int id, String chatFrom, String chatTo, Date chatTime,
			String content) {
		super();
		this.id = id;
		this.chatFrom = chatFrom;
		this.chatTo = chatTo;
		this.chatTime = chatTime;
		this.content = content;
	}



	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getChatFrom() {
		return chatFrom;
	}
	public void setChatFrom(String chatFrom) {
		this.chatFrom = chatFrom;
	}
	public String getChatTo() {
		return chatTo;
	}
	public void setChatTo(String chatTo) {
		this.chatTo = chatTo;
	}

	public Date getChatTime() {
		return chatTime;
	}



	public void setChatTime(Date chatTime) {
		this.chatTime = chatTime;
	}



	public String getcontent() {
		return content;
	}
	public void setcontent(String content) {
		this.content = content;
	}



	@Override
	public String toString() {
		return id+"_"+chatFrom+"_"+chatTo+"_"+chatTime+"_"+content;
	}

}
